import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

const app=createApp(App)

import qs from 'qs'
import './assets/css/reset.css'
import axios from 'axios'
import VueAxios from 'vue-axios'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

//公共请求路径
axios.defaults.baseURL='http://127.0.0.1:8093'
//公共图片路径=》需要修改vue的原型，向原型添加新属性
app.config.globalProperties.$Imgurl='http://127.0.0.1:8093/api/public'
//向原型添加qs插件
app.config.globalProperties.$qs=qs

app.use(store).use(router).use(VueAxios,axios).use(ElementPlus).mount("#app");
